package cn.thr.pethome.pet.service;

import cn.thr.pethome.department.domain.Department;
import cn.thr.pethome.pet.domain.Pet;
import cn.thr.pethome.base.service.IBaseService;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author thr
 * @since 2023-02-05
 */
public interface IPetService extends IBaseService<Pet> {
    void add(Pet pet,HttpServletRequest req);

    //这是下架
    void offsale(List<Long> ids);
    //这是上架
    String onsale(List<Long> ids);
}
